package com.bafa.front;

import com.bafa.dbcache.LeagueCache;
import com.bafa.exceptions.ErrorException;
import com.bafa.objects.PageBean;
import com.bafa.services.RetrieveServices;
import com.bafa.services.ReportServices;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class RulesServlet extends DaddyServlet{
    public void doEvent(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, ErrorException {
            request.setAttribute("RULES",ReportServices.getReport("RULES"));
            pageBean = (PageBean)LeagueCache.getPages().get("rules");
            
    }
}
